import React, {Component} from 'react'
import {Table} from 'antd'

class UserInfoTable extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <Table rowKey="id" columns={this.props.columns} dataSource={this.props.dataSource} style={{marginTop:'10px'}}
                   pagination={this.props.pagination} onChange={this.props.onChange} rowSelection={this.props.rowSelection}/>
        );

    }
}

export default UserInfoTable;